#!opentype

# CLASSES

@mI_BASES_TOO_LONG = [
  dvK_S_TTA
  dvK_S_P_LA
];

@mI_BASES_01 = [
  dvNGA
  dvDDA
  dvDA
  dvRA
  dvHA
  dvDDxA
  dvRxA
  dvNG_RA
  dvDD_RA
  dvT_RA
  dvH_RA
  dvTT_TTA
  dvTTH_TTHA
  dvDD_DDA
  dvDD_VA
  dvD_DA
  dvD_BA
  dvD_B_RA
  dvD_VA
];

@mI_BASES_02 = [
  dvKA
  dvTTA
  dvTTHA
  dvDDHA
  dvTA
  dvPA
  dvBA
  dvVA
  dvSSA
  dvKxA
  dvDDHxA
  dvPHxA
  dvK_RA
  dvTT_RA
  dvTTH_RA
  dvDDH_RA
  dvD_RA
  dvP_RA
  dvPH_RA
  dvB_RA
  dvV_RA
  dvSS_RA
  dvK_NA
  dvTT_TTHA
  dvTT_VA
  dvTTH_VA
  dvDD_DDHA
  dvDDH_DDHA
  dvDDH_VA
  dvT_NA
  dvD_GA
  dvD_G_RA
  dvD_NA
  dvD_BHA
  dvP_NA
  dvB_NA
  dvV_NA
  dvSH_NA
  dvSH_VA
  dvH_VA
];

@mI_BASES_03 = [
  dvGA
  dvGHA
  dvTHA
  dvDHA
  dvNA
  dvPHA
  dvBHA
  dvMA
  dvYA
  dvGxA
  dvG_RA
  dvGH_RA
  dvTH_RA
  dvDH_RA
  dvN_RA
  dvBH_RA
  dvM_RA
  dvY_RA
  dvL_RA
  dvSH_RA
  dvKx_RA
  dvGx_RA
  dvPHx_RA
  dvG_NA
  dvGH_NA
  dvTH_NA
  dvD_GHA
  dvD_DHA
  dvD_MA
  dvD_YA
  dvDH_NA
  dvN_NA
  dvPH_NA
  dvY_NA
  dvH_NNA
  dvH_NA
  dvH_LA
];

@mI_BASES_04 = [
  dvCA
  dvCHA
  dvJHA
  dvLA
  dvSHA
  dvSA
  dvK_SSA
  dvJ_NYA
  dvC_RA
  dvCH_RA
  dvLL_RA
  dvT_TA
  dvSH_CA
];

@mI_BASES_05 = [
  dvNYA
  dvNNA
  dvLLA
  dvJxA
  dvNY_RA
  dvNN_RA
  dvS_RA
  dvK_TA
  dvC_NA
  dvM_NA
  dvEyelash_HA
  dvH_MA
  dvH_YA
];

@mI_BASES_06 = [
  dvKHA
  dvJA
  dvKH_RA
  dvJ_RA
  dvJH_RA
  dvKHx_RA
  dvJx_RA
  dvKH_NA
  dvBH_NA
  dvS_NA
];

@mI_BASES_07 = [
  dvKHxA
  dvT_R_YA
  dvP_TTA
  dvB_DA
  dvB_BA
];

@mI_BASES_08 = [
  dvG_DA
  dvP_TTHA
  dvB_VA
  dvV_VA
  dvV_HA
  dvSS_TT_VA
];

@mI_BASES_09 = [
  dvG_GHA
  dvG_BA
  dvG_VA
  dvJ_NA
  dvT_VA
  dvN_DDA
  dvP_PA
  dvP_VA
  dvM_HA
  dvEyelash_YA
  dvV_YA
  dvSS_TT_RA
  dvSS_TTHA
  dvSS_TTH_RA
  dvSS_PA
];

@mI_BASES_10 = [
  dvK_SS_VA
  dvG_GA
  dvT_KA
  dvT_K_RA
  dvT_THA
  dvT_PA
  dvT_P_RA
  dvT_PHA
  dvT_MA
  dvTH_VA
  dvDH_VA
  dvN_TTA
  dvN_DA
  dvN_D_RA
  dvN_D_VA
  dvN_PA
  dvN_P_RA
  dvN_VA
  dvN_HA
  dvP_TA
  dvP_PHA
  dvP_MA
  dvP_YA
  dvB_TA
  dvB_DHA
  dvB_BHA
  dvB_BH_RA
  dvB_YA
  dvM_DA
  dvM_PA
  dvM_BA
  dvM_B_RA
  dvM_MA
  dvM_VA
  dvL_TTHA
  dvL_DDA
  dvL_DDHA
  dvL_DA
  dvL_D_RA
  dvL_HA
  dvSS_KA
  dvSS_TTA
  dvSS_P_RA
  dvSS_PHA
  dvSS_VA
  dvSS_SSA
  dvS_BA
];

@mI_BASES_11 = [
  dvG_NNA
  dvG_DHA
  dvG_BHA
  dvG_MA
  dvG_YA
  dvG_R_YA
  dvGH_MA
  dvJH_NA
  dvT_K_SSA
  dvT_T_VA
  dvT_N_YA
  dvT_YA
  dvT_LA
  dvTH_YA
  dvN_KA
  dvN_CA
  dvN_TA
  dvN_T_YA
  dvN_THA
  dvN_DHA
  dvN_BHA
  dvN_MA
  dvN_YA
  dvP_LA
  dvB_LA
  dvB_SHA
  dvB_SA
  dvBH_VA
  dvM_TA
  dvM_P_RA
  dvM_BHA
  dvM_BH_RA
  dvM_YA
  dvY_YA
  dvL_KA
  dvL_TTA
  dvL_PA
  dvL_BA
  dvL_VA
  dvV_LA
  dvSH_KxA
  dvSH_TTA
  dvSS_MA
  dvSS_YA
  dvS_TTA
  dvS_T_RA
  dvS_DA
  dvS_P_RA
  dvS_VA
];

@mI_BASES_12 = [
  dvK_SS_YA
  dvG_JA
  dvG_LA
  dvG_SA
  dvGH_YA
  dvNN_TTA
  dvNN_TTHA
  dvNN_DDA
  dvNN_VA
  dvT_T_YA
  dvT_SA
  dvDH_N_YA
  dvDH_MA
  dvDH_YA
  dvN_CHA
  dvN_DH_RA
  dvN_PHA
  dvN_PH_RA
  dvP_SA
  dvB_JHA
  dvBH_YA
  dvBH_R_YA
  dvM_LA
  dvM_SHA
  dvM_SA
  dvL_GA
  dvL_TA
  dvL_PHA
  dvSH_KA
  dvSS_NNA
  dvS_KA
  dvS_K_RA
  dvS_TA
  dvS_PA
];

@mI_BASES_13 = [
  dvC_CH_VA
  dvJ_DDA
  dvJ_DA
  dvJ_BA
  dvJ_VA
  dvNY_CHA
  dvNN_DDHA
  dvN_T_RA
  dvN_N_YA
  dvB_JA
  dvBH_LA
  dvL_THA
  dvL_BHA
  dvL_MA
  dvL_YA
  dvSH_CHA
  dvSH_TA
  dvSH_MA
  dvSH_YA
  dvS_THA
  dvS_PHA
  dvS_MA
  dvS_YA
  dvS_LA
];

@mI_BASES_14 = [
  dvK_T_RA
  dvK_SS_MA
  dvKH_TA
  dvC_CHA
  dvC_MA
  dvC_YA
  dvJ_KA
  dvJ_NY_YA
  dvJ_TTA
  dvJ_TA
  dvJH_YA
  dvTT_YA
  dvDD_YA
  dvNN_YA
  dvT_KHA
  dvN_SA
  dvB_JxA
  dvL_SA
  dvSH_LA
  dvSH_SHA
];

@mI_BASES_15 = [
  dvK_KA
  dvK_TTA
  dvK_DA
  dvK_P_RA
  dvKx_BA
  dvK_VA
  dvKHx_TA
  dvKH_YA
  dvKH_VA
  dvKHx_VA
  dvC_CA
  dvCH_YA
  dvJ_J_NYA
  dvJ_MA
  dvJ_YA
  dvJx_YA
  dvJH_MA
  dvNY_CA
  dvNY_SHA
  dvTTH_YA
  dvDDH_YA
  dvNN_MA
  dvT_KH_RA
  dvT_S_NA
  dvPH_TTA
  dvPH_TA
  dvPH_PA
  dvL_LA
  dvSS_K_RA
  dvS_SA
];

@mI_BASES_16 = [
  dvKx_TA
  dvK_MA
  dvKx_MA
  dvKH_MA
  dvKHx_MA
  dvKHx_YA
  dvG_DH_VA
  dvNN_NNA
  dvPHx_TA
  dvPH_PHA
  dvB_DH_VA
  dvL_KHA
  dvL_JA
  dvL_JxA
  dvS_JA
];

@mI_BASES_17 = [
  dvKx_KxA
  dvK_PA
  dvK_PHA
  dvKx_PHA
  dvKH_SHA
  dvPHx_PHxA
  dvPH_LA
  dvL_V_DDA
];

@mI_BASES_18 = [
  dvK_THA
  dvKx_PHxA
  dvK_YA
  dvKHx_SHA
  dvKHx_SA
  dvG_DH_YA
  dvCH_R_YA
  dvJ_JA
  dvJ_JHA
  dvNY_JA
  dvN_BH_VA
  dvP_T_YA
  dvPH_YA
  dvPH_SHA
  dvS_KHA
  dvLL_YA
];

@mI_BASES_19 = [
  dvK_LA
  dvK_SHA
  dvK_SA
  dvG_N_YA
  dvG_BH_YA
  dvT_M_YA
  dvN_TH_VA
  dvN_DH_VA
  dvPHx_SA
  dvM_B_YA
  dvM_BH_VA
  dvSS_M_YA
  dvS_T_VA
];

@mI_BASES_20 = [
  dvK_CA
  dvK_NNA
  dvJx_JxA
  dvT_P_LA
  dvT_S_VA
  dvN_TH_YA
  dvPH_JA
];

@mI_BASES_21 = [
  dvK_JA
  dvN_BH_YA
  dvN_M_YA
  dvPHx_JxA
  dvM_BH_YA
  dvS_T_YA
  dvS_TH_YA
];

@mI_BASES_22 = [
  dvK_SS_M_YA
  dvKH_KHA
  dvT_S_YA
  dvN_T_SA
  dvN_DH_YA
  dvN_S_TTA
  dvB_L_YA
  dvL_TH_YA
  dvS_M_YA
];

@mI_BASES_23 = [
  dvK_KHA
  dvK_T_VA
  dvB_J_YA
  dvSS_TT_YA
  dvSS_NN_YA
];

@mI_BASES_24 = [
  dvK_T_YA
  dvT_K_VA
  dvSS_TTH_YA
];

@mI_BASES_25 = [
  dvK_V_YA
  dvN_S_YA
];

@mI_BASES_26 = [
  dvJ_J_VA
];

@mI_BASES_27 = [
  dvK_S_DDA
  dvT_K_YA
  dvL_K_YA
  dvL_L_YA
];

@mI_BASES_28 = [
  dvK_S_P_RA
  dvS_K_VA
];

@mI_BASES_29 = [
  dvK_S_TA
  dvJ_J_YA
  dvN_K_SA
];

# @mI_BASES_30 = [];

# @mI_BASES_31 = [];

@mI_BASES_32 = [
  dvN_S_M_YA
];

# RULES

  sub dvmI' @mI_BASES_01 by dvmI.a01;
  sub dvmI' @mI_BASES_02 by dvmI.a02;
  sub dvmI' @mI_BASES_03 by dvmI.a03;
  sub dvmI' @mI_BASES_04 by dvmI.a04;
  sub dvmI' @mI_BASES_05 by dvmI.a05;
  sub dvmI' @mI_BASES_06 by dvmI.a06;
  sub dvmI' @mI_BASES_07 by dvmI.a07;
  sub dvmI' @mI_BASES_08 by dvmI.a08;
  sub dvmI' @mI_BASES_09 by dvmI.a09;
  sub dvmI' @mI_BASES_10 by dvmI.a10;
  sub dvmI' @mI_BASES_11 by dvmI.a11;
  sub dvmI' @mI_BASES_12 by dvmI.a12;
  sub dvmI' @mI_BASES_13 by dvmI.a13;
  sub dvmI' @mI_BASES_14 by dvmI.a14;
  sub dvmI' @mI_BASES_15 by dvmI.a15;
  sub dvmI' @mI_BASES_16 by dvmI.a16;
  sub dvmI' @mI_BASES_17 by dvmI.a17;
  sub dvmI' @mI_BASES_18 by dvmI.a18;
  sub dvmI' @mI_BASES_19 by dvmI.a19;
  sub dvmI' @mI_BASES_20 by dvmI.a20;
  sub dvmI' @mI_BASES_21 by dvmI.a21;
  sub dvmI' @mI_BASES_22 by dvmI.a22;
  sub dvmI' @mI_BASES_23 by dvmI.a23;
  sub dvmI' @mI_BASES_24 by dvmI.a24;
  sub dvmI' @mI_BASES_25 by dvmI.a25;
  sub dvmI' @mI_BASES_26 by dvmI.a26;
  sub dvmI' @mI_BASES_27 by dvmI.a27;
  sub dvmI' @mI_BASES_28 by dvmI.a28;
  sub dvmI' @mI_BASES_29 by dvmI.a29;
# sub dvmI' @mI_BASES_30 by dvmI.a30;
# sub dvmI' @mI_BASES_31 by dvmI.a31;
  sub dvmI' @mI_BASES_32 by dvmI.a32;
